Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes for bugfix fractions #110

Merged
merged 12 commits into from
Oct 7, 2020
Merged

changes for bugfix fractions #110

merged 12 commits into from
Oct 7, 2020

Conversation

jedwards4b
Copy link
Collaborator

@jedwards4b jedwards4b commented Oct 1, 2020

Description of changes

Bug fixes and cleanup of map and fractions mod

Specific notes

This fixes a substantial bug in that the ice/ocean mask was mapped from the ocean mesh to the atm mesh using conservative mapping with a normtype of DSTFRAC rather than a normtype of DSTAREA. The result was that the land fraction on the atm mesh was always just 0/1 and the ocean fraction in non-polar regions was 0/1 on the coasts. This PR fixes this.

Also, as part of this PR a clean up of med_map_mod.F90 was done for generating the maps that were needed by med_fraction_mod.F90.

Contributors other than yourself, if any: mvertens

CMEPS Issues Fixed (include github issue #): #106

Are changes expected to change answers?

  • bit for bit - for most compsets other than B and X compsets
  • different at roundoff level - for some compsets other than B and X compsets
  • more substantial - for B and X compsets

Any User Interface Changes (namelist or namelist defaults changes)?

  • Yes
  • No

Testing performed if application target is CESM:(either UFS-S2S or CESM testing is required):

  • (required) CIME_DRIVER=nuopc scripts_regression_tests.py
    • machines: cheyenne
    • details (e.g. failed tests):
  • (required) CESM testlist_drv.xml
    • machines and compilers: cheyenne, intel
    • details (e.g. failed tests): generate oct05, compare aug19
  • (optional) CESM prealpha test
    • machines and compilers
    • details (e.g. failed tests):

Testing performed if application target is UFS-S2S:

  • (required) UFS-S2S testing
    • description: testing was done by @DeniseWorthen to demonstrate that this bug fix was also needed in the UFS.
    • details: The tests compared results of running simulations with and without the bug fix for c384mx025

Hashes used for testing:

  • CESM:

  • UFS-S2S, then umbrella repostiory to check out and associated hash:

    • repository to check out:
    • branch:
    • hash:

@mvertens mvertens changed the title Mvertens/bugfix fractions changes for bugfix fractions Oct 1, 2020
@mvertens mvertens self-assigned this Oct 7, 2020
@mvertens mvertens self-requested a review October 7, 2020 04:00
@DeniseWorthen
Copy link
Collaborator

I've ran the RTs for ufs-s2s using this branch with the bug restored (ie, in med_frac_mod, switching back to mapnstod_consf for all instances of nems) and all files reproduce w/ the exception of the mediator restart. Those fail only because of the field atmFrac_ofrac which is not used by the atm.

The changes in CMEPS required for CESM do not impact NEMS, as expected.

@mvertens mvertens merged commit 1a5d830 into master Oct 7, 2020
@mvertens mvertens deleted the mvertens/bugfix_fractions branch October 29, 2020 16:58
jedwards4b added a commit to jedwards4b/CMEPS that referenced this pull request Jun 9, 2022
uturuncoglu added a commit to uturuncoglu/CMEPS that referenced this pull request Mar 13, 2024
Sync w/ ESCOMP, adding CDEPS inline capability to CMEPS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants